package eirkdbd.lab1.membership.functions.helpers.norms.implications;

/**
 * Lukasiewicz implication implementation
 * @author pajac
 *
 */
public class LukasiewiczImplication implements Implication{

	public double value(double a, double b) {
		double value = 1. - a + b;
		if ( 1. < value)
			return 1.;
		System.out.println(value);
		return value;
	}
	
}
